cody - HTMLify profile

cody
4270 Files
632080 Views
Latest files of /cody/vishal-dcode/Carousel Portfolio
let activeIndex = 0;
const slides = document.getElementsByTagName("article");
const handleLeftClick = () => {
const nextIndex = activeIndex - 1 >= 0 ? activeIndex - 1 : slides.length - 1;
const [currentSlide, nextSlide] = getSlideElements(activeIndex, nextIndex);
setSlideStatus(currentSlide, "after");
setSlideStatus(nextSlide, "becoming-active-from-before");
const slides = document.getElementsByTagName("article");
const handleLeftClick = () => {
const nextIndex = activeIndex - 1 >= 0 ? activeIndex - 1 : slides.length - 1;
const [currentSlide, nextSlide] = getSlideElements(activeIndex, nextIndex);
setSlideStatus(currentSlide, "after");
setSlideStatus(nextSlide, "becoming-active-from-before");
@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap";
:root {
--background-color: #141414;
--border-color: #212121;
--highlight-color: #865dff;
}
body {
background-color: var(--background-color);
:root {
--background-color: #141414;
--border-color: #212121;
--highlight-color: #865dff;
}
body {
background-color: var(--background-color);
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<link rel="stylesheet" href="style.css" />
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<link rel="stylesheet" href="style.css" />